home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppy Magazine 1988 #2
/
Floppy_Magazine_88-2_1988_Megasystems_Oy_fi_Side_A.d64
/
treasures1
(
.txt
)
next >
Wrap
Commodore BASIC
|
2023-02-26
|
37KB
|
1,312 lines
0 print"[147]":poke53281,5:poke53280,5
2 print"[147][153][205]enu 1"
4 print"[196][213][206][199][197][207][206][211]"
6 print"&"
8 print"[196][210][193][199][207][206][211]"
10 print"[153][212][210][197][193][211][213][210][197] [193][201][196]"
12 print"[158][183][183][183][183][183][183][183][183][183][183][183][183][183][183]"
14 print"[144][194]y [212]he [194]alron 1987"
16 print"[151][195]hoose one of the followings:"
18 print"1.[208]otions"
20 print"2.[199]ems"
22 print"3.[193]rmor or [211]hield"
24 print"4.[211]word"
26 print"5.[202]ewelry"
28 print"6.[200]its jne."
30 print"7.[205]enu 2"
31 sys49152
36 geta$:ifa$=""then36
38 ifa$="1"then60
40 ifa$="2"then186
42 ifa$="3"then414
44 ifa$="4"then574
46 ifa$="5"then916
48 ifa$="6"then1220
50 ifa$="7"then1226
54 ifa$<>"1"anda$<>"2"anda$<>"3"anda$<>"4"anda$<>"5"anda$<>"6"anda$<>"7"then36
56 end
58 rem *** potions ***
60 input"[147][200]ow many potions";p
62 print"[147][208]otion of:[158]"
63 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
64 fori=1top
66 x=int(100*rnd(ti)+1)
68 ifx<2thenprint"agility"
70 ifx=3thenprint"animal control"
72 ifx=>4andx<=6thenprint"antidote"
74 ifx=>7andx<=8thenprint"blending"
76 ifx=>9andx<=10thenprint"bug repellant"
78 ifx=>11andx<=12thenprint"clairaudience"
80 ifx=>13andx<=14thenprint"clairvoyance"
82 ifx=>15andx<=16thenprint"climbing"
84 ifx=>17andx<=18thenprint"defense"
86 ifx=>19andx<=20thenprint"diminution"
88 ifx=>21andx<=24thenprint"delusion"
90 ifx=25thenprint"dragon control"
92 ifx=>26andx<=27thenprint"dream speech"
94 ifx=28thenprint"elasticity"
96 ifx=>29andx<=30thenprint"elemental form"
98 ifx=>31andx<=32thenprint"esp"
100 ifx=33thenprint"ethereality"
102 ifx=>34andx<=36thenprint"fire resistance"
104 ifx=>37andx<=39thenprint"flying"
106 ifx=>40andx<=41thenprint"fortitude"
108 ifx=42thenprint"freedom"
110 ifx=97thenprint"treasure finding"
112 ifx=>43andx<=45thenprint"gaseous form"
114 ifx=46thenprint"giant control"
116 ifx=>47andx<=49thenprint"giant strength"
118 ifx=>50andx<=51thenprint"growth"
120 ifx=>52andx<=57thenprint"healing"
122 ifx=>58andx<=60thenprint"heroism"
124 ifx=61thenprint"human control"
126 ifx=>62andx<=64thenprint"invisibility"
128 ifx=>65andx<=66thenprint"invulnerability"
130 ifx=>67andx<=68thenprint"levitation"
132 ifx=>69andx<=70thenprint"longevity"
134 ifx=71thenprint"luck"
136 ifx=72thenprint"merging"
138 ifx=>73andx<=74thenprint"plant control"
140 ifx=>75andx<=77thenprint"poison"
142 ifx=>78andx<=80thenprint"polymorph self"
144 ifx=>81andx<=82thenprint"sight"
146 ifx=>83andx<=84thenprint"speech"
148 ifx=>85andx<=88thenprint"speed"
150 ifx=>89andx<=90thenprint"strength"
152 ifx=>91andx<=93thenprint"super-healing"
154 ifx=>94andx<=96thenprint"swimming"
156 ifx=98thenprint"undead control"
158 ifx=>99andx<=100thenprint"water breathing"
160 ifi=18 then print"press any key[158]":gosub168
162 ifi=36 then print"press any key[158]":gosub168
164 nexti
166 goto172
168 getl$:ifl$=""then168
170 print"[147][208]otion of:[158]"
171 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]":return
172 print"[206]ew potions (y/n)[158]"
174 geta$:ifa$=""then174
176 ifa$="y"then60
178 ifa$="n"then0
180 ifa$<>"y"anda$<>"n"then174
182 end
184 rem *** gems ***
186 clr
188 print"[147][196]o you want the gem names (y/n)"
190 getty$:ifty$=""then190
192 ifty$="y"thengoto200
194 ifty$="n"thengoto364
196 ifty$<>"y"andty$<>"n"then190
198 end
200 aa=0:bb=0:cc=0:dd=0:ee=0:ff=0:gg=0:hh=0
202 a$(1)="[193]gate":a$(2)="[209]uartz":a$(3)="[212]urquoise"
204 b$(1)="[195]rystal":b$(2)="[202]asper":b$(3)="[207]nyx"
206 c$(1)="[193]mber":c$(2)="[193]methyst":c$(3)="[195]oral":c$(4)="[199]ranet":c$(5)="[202]ade"
208 d$(1)="[193]quamarine":d$(2)="[208]earl":d$(3)="[212]opaz":e$(1)="[195]arbuncle"
210 e$(2)="[207]pal":f$(1)="[197]merald":f$(2)="[210]uby":f$(3)="[211]apphire"
212 g$(1)="[196]iamond":g$(2)="[202]ancinth":h$(1)="[211]tarstone":h$(2)="[212]ristal"
214 h$(3)="[211]pecial"
216 r=0
218 print"[147]"
220 input"[200]ow many [199]ems";g
222 print"[147][197]xample[157][157][157][157][157][157][157]of [199]em [214]alue"
224 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
226 fori=1036to2044step40:pokei,93:nexti
228 fork=1tog
230 a=int(100*rnd(ti)+1)
232 ifa<=3thenv=10:b=1
234 ifa=>4anda<=10thenv=50:b=2
236 ifa=>11anda<=25thenv=100:b=3
238 ifa=>26anda<=46thenv=500:b=4
240 ifa=>47anda<=71thenv=1000:b=5
242 ifa=>72anda<=90thenv=5000:b=6
244 ifa=>91anda<=97thenv=10000:b=7
246 ifa=>98anda<=100thenv=50000:b=8
248 p=r+v:r=p
250 c=int(3*rnd(ti)+1)
252 d=int(3*rnd(ti)+1)
254 e=int(5*rnd(ti)+1)
256 f=int(3*rnd(ti)+1)
258 g=int(2*rnd(ti)+1)
260 h=int(3*rnd(ti)+1)
262 i=int(2*rnd(ti)+1)
264 j=int(3*rnd(ti)+1)
266 ifb=1thenprinta$(c)tab(13)"[158]"v" [199][208]'s"
268 ifb=2thenprintb$(d)tab(13)"[158]"v" [199][208]'s"
270 ifb=3thenprintc$(e)tab(13)"[158]"v" [199][208]'s"
272 ifb=4thenprintd$(f)tab(13)"[158]"v" [199][208]'s"
274 ifb=5thenprinte$(g)tab(13)"[158]"v" [199][208]'s"
276 ifb=6thenprintf$(h)tab(13)"[158]"v" [199][208]'s"
278 ifb=7thenprintg$(i)tab(13)"[158]"v"[199][208]'s"
280 ifb=8thenprinth$(j)tab(13)"[158]"v"[199][208]'s"
282 ifk=18thenprint"[208]ress a [203]ey":gosub352
284 ifk=35thenprint"[208]ress a [203]ey":gosub352
286 ifk=53thenprint"[208]ress a [203]ey":gosub352
288 ifk=71thenprint"[208]ress a [203]ey":gosub352
290 ifk=89thenprint"[208]ress a [203]ey":gosub352
292 ifk=107thenprint"[208]ress a [203]ey":gosub352
294 ifk=125thenprint"[208]ress a [203]ey":gosub352
296 ifb=1thenaa=aa+1
298 ifb=2thenbb=bb+1
300 ifb=3thencc=cc+1
302 ifb=4thendd=dd+1
304 ifb=5thenee=ee+1
306 ifb=6thenff=ff+1
308 ifb=7thengg=gg+1
310 ifb=8thenhh=hh+1
312 nextk
314 print"[208]ress a [203]ey"
316 getl$:ifl$=""then316
318 print"[147][197]xample of [199]em [214]alue"
320 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
322 print"[212]otal [214]alue of [199]ems="r"[199][208]"
324 print"10 [199]ems";aa
326 print"50 [199]ems";bb
328 print"100 [199]ems";cc
330 print"500 [199]ems";dd
332 print"1000 [199]ems";ee
334 print"5000 [199]ems";ff
336 print"10000 [199]ems";gg
338 print"50000 [199]ems";hh
340 print"[206]ew [199]ems ([217]/[206])"
342 geta$:ifa$=""then342
344 ifa$="y"then186
346 ifa$="n"thengoto0
348 ifa$<>"y"anda$<>"n"then342
350 end
352 rem
354 getl$:ifl$=""then354
356 print"[147][197]xample[157][157][157][157][157][157][157]of [199]em [214]alue"
358 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
360 fori=1036to2044step40:pokei,93:nexti
362 return
364 print"[147]":xx=1
366 input"[200]ow many [199]ems";g
368 print"[147][208]lease wait, counting"
370 fork=1tog
372 a=int(100*rnd(ti)+1)
374 ifa<=3thenv=10:b=1
376 ifa=>4anda<=10thenv=50:b=2
378 ifa=>11anda<=25thenv=100:b=3
380 ifa=>26anda<=46thenv=500:b=4
382 ifa=>47anda<=71thenv=1000:b=5
384 ifa=>72anda<=90thenv=5000:b=6
386 ifa=>91anda<=97thenv=10000:b=7
388 ifa=>98anda<=100thenv=50000:b=8
390 p=r+v:r=p
392 ifb=1thenaa=aa+1
394 ifb=2thenbb=bb+1
396 ifb=3thencc=cc+1
398 ifb=4thendd=dd+1
400 ifb=5thenee=ee+1
402 ifb=6thenff=ff+1
404 ifb=7thengg=gg+1
406 ifb=8thenhh=hh+1
408 next
410 goto318
412 rem *** armor ***
414 clr
416 rem *** size ***
418 print"[147]"
420 print"[193]rmor [211]ize:";
422 gosub572
424 ifa<=68thenprint"[200]uman"
426 ifa=>69anda<=81thenprint"[196]warf"
428 ifa=>82anda<=91thenprint"[197]lf"
430 ifa=>92anda<=98thenprint"[200]alfling"
432 ifa=>99anda<=100thenprint"[199]iant"
434 rem *** type ***
436 print"[212]ype:";
438 gosub572
440 ifa<=10thenprint"leather";:gosub462:goto536
442 ifa=>11anda<=17thenprint"scale mail";:gosub480:goto536
444 ifa=>18anda<=30thenprint"chain mail";:gosub480:goto536
446 ifa=>31anda<=39thenprint"banded mail";:gosub498:goto536
448 ifa=>40anda<=50thenprint"plate mail";:gosub498:goto536
450 ifa=>51anda<=75thenprint"shield";:gosub516:goto536
452 ifa=>76anda<=77thenprint"scale mail";:gosub480:print" & shield";:gosub516:goto536
454 ifa=>78anda<=85thenprint"chain mail";:gosub480:print" & shield";:gosub516:goto536
456 ifa=>86anda<=90thenprint"banded mail";:gosub498:print" & shield";:gosub516:goto536
458 ifa=>91anda<=100thenprint"plate mail";:gosub498:print" & shield";:gosub516:goto536
460 end
462 rem *** leather ***
464 gosub572
466 ifa<=70thenprint"+1";:cs=10
468 ifa=>71anda<=88thenprint"+2";:c=15
470 ifa=>89anda<=96thenprint"+3";:c=20
472 ifa=>97anda<=99thenprint"+4";:c=25
474 ifa=100thenprint"+5";:c=30
476 return
478 end
480 rem *** scale and chain ***
482 gosub572
484 ifa<=60thenprint"+1":cs=10
486 ifa=>61anda<=81thenprint"+2";:cs=15
488 ifa=>82anda<=92thenprint"+3";:cs=20
490 ifa=>93anda<=98thenprint"+4";:cs=25
492 ifa=>99anda<=100thenprint"+5";:cs=30
494 return
496 end
498 rem *** banded and plate ***
500 gosub572
502 ifa<=50thenprint"+1";:cs=10
504 ifa=>51anda<=74thenprint"+2";:cs=15
506 ifa=>75anda<=88thenprint"+3";:cs=20
508 ifa=>89anda<=96thenprint"+4";:cs=25
510 ifa=>97anda<=100thenprint"+5";:cs=30
512 return
514 end
516 rem *** shield ***
518 gosub572
520 ifa<=40thenprint"+1";:cs=10
522 ifa=>41anda<=67thenprint"+2";:cs=15
524 ifa=>68anda<=84thenprint"+3";:cs=20
526 ifa=>85anda<=94thenprint"+4";:cs=25
528 ifa=>95anda<=100thenprint"+5";:cs=30
530 return
532 end
534 rem ** special armor or shield **
536 gosub572:ifa>csthengoto564
538 gosub572
540 ifa<=7thenprint" + absorption"
542 ifa=>8anda<=17thenprint" + charm"
544 ifa=>18anda<=32thenprint" + cure wounds"
546 ifa=>33anda<=42thenprint" + electricity"
548 ifa=>43anda<=47thenprint" + energy drain"
550 ifa=>48anda<=50thenprint" + ethereality"
552 ifa=>51anda<=60thenprint" + fly"
554 ifa=>61anda<=66thenprint" + gaseous form"
556 ifa=>67anda<=75thenprint" + haste"
558 ifa=>76anda<=85thenprint" + invisibility"
560 ifa=>86anda<=93thenprint" + reflection"
562 ifa=>94anda<=100thenprint" + remove curse"
564 getx$:ifx$=""then564
566 ifx$=chr$(32)thengoto414
568 ifx$=chr$(13)thengoto0
570 ifx$<>chr$(32)andx$<>chr$(13)then564
572 a=int(100*rnd(ti)+1):return
574 poke53281,5:poke53280,5:print""
576 print"[147]":clr
578 rem *** sword type ***
580 x=int(100*rnd(ti)+1)
582 ifx<=65thena$="c":print"[206]ormal sword";
584 ifx=>66andx<=84thena$="c":print"[211]hort sword";
586 ifx=>85andx<=92thena$="d":print"[212]wo-handed sword";
588 ifx=>93andx<=100thena$="d":print"[194]astard sword";
590 rem *** strength ***
592 ifa$="c"then596
594 ifa$="d"then610
596 a=int(100*rnd(ti)+1)
598 ifa<=60thencb=40:print"+1";
600 ifa=>61anda<=81thencb=30:print"+2";
602 ifa=>82anda<=92thencb=25:print"+3";
604 ifa=>93anda<=98thencb=20:print"+4";
606 ifa=>99anda<=100thencb=15:print"+5";
608 goto622
610 ifa<=70thencb=40:print"+1";
612 ifa=>71anda<=88thencb=30:print"+2";
614 ifa=>89anda<=96thencb=25:print"+3";
616 ifa=>97anda<=99thencb=20:print"+4";
618 ifa=100thencb=15:print"+5";
620 goto622
622 rem *** bonuses ***
624 f=int(100*rnd(ti)+1)
626 iff>cbthen726
628 iff<cbthen632
630 rem *********
632 s=int(100*rnd(ti)+1)
634 ifs<=29thenprint"+1 vs.";
636 ifs=>30ands<=50thenprint"+2 vs.";
638 ifs=>51ands<=64thenprint"+3 vs.";
640 ifs=>65ands<=72thenprint"+4 vs.";
642 ifs=>73ands<=75thenprint"+5 vs.";
644 ifs=>76ands<=100thenprint" + ";:goto680
646 rem *** opponents ***
648 i=int(100*rnd(ti)+1)
650 ifi<=6thenprint"[194]ugs"
652 ifi=>7andi<=9thenprint"[195]onstructs"
654 ifi=>10andi<=15thenprint"[196]ragons"
656 ifi=>16andi<=24thenprint"[197]nchanted monsters"
658 ifi=>25andi<=36thenprint"[199]iants"
660 ifi=>37andi<=48thenprint"[204]ycanthropes"
662 ifi=>49andi<=52thenprint"[207]ther-planar creatures"
664 ifi=>53andi<=58thenprint"[210]egenerating [195]reatures"
666 ifi=>59andi<=67thenprint"[210]eptiles (and [196]inosaurs)"
668 ifi=>68andi<=70thenprint"[211]pell [201]mmune creatures"
670 ifi=>71andi<=76thenprint"[211]pell [213]sers"
672 ifi=>77andi<=88thenprint"[213]ndead"
674 ifi=>89andi<=94thenprint"[215]ater-[194]reathing [195]reatures"
676 ifi=>95andi<=100thenprint"[215]eapon-[213]sing [195]reatures"
678 goto726
680 rem *** talent ***
682 p=int(100*rnd(ti)+1)
684 ifp<=5thenprint"[194]reathing"
686 ifp=>6andp<=12thenprint"[195]harming"
688 ifp=>13andp<=16thenprint"[196]eceiving"
690 ifp=>17andp<=23thenprint"[196]efending"
692 ifp=>24andp<=25thenprint"[196]eflector"
694 ifp=>26andp<=27thenprint"[196]raining"
696 ifp=>28andp<=32thenprint"[197]xtinguishing"
698 ifp=>33andp<=38thenprint"[198]inding"
700 ifp=>39andp<=43thenprint"[198]laming"
702 ifp=>44andp<=46thenprint"[198]lying"
704 ifp=>47andp<=54thenprint"[200]ealing"
706 ifp=>55andp<=59thenprint"[200]iding"
708 ifp=>60andp<=65thenprint"[200]olding"
710 ifp=>66andp<=73thenprint"[204]ightning"
712 ifp=>74andp<=79thenprint"[211]ilencing"
714 ifp=>80andp<=81thenprint"[211]licing"
716 ifp=>82andp<=85thenprint"[211]lowing"
718 ifp=>86andp<=89thenprint"[211]peeding"
720 ifp=>90andp<=94thenprint"[212]ranslating"
722 ifp=>95andp<=99thenprint"[215]atching"
724 ifp=100thenprint"[215]ishing"
726 rem *** intelligence ***
728 print:
730 o=int(100*rnd(ti)+1)
732 ifo<=79thenin=0:co=0:po=0:la=0:print"[201]t's [206]on-[201]ntelligent":goto908
734 ifo=>80ando<=85thenin=7:co=1:po=1:la=0:goto746
736 ifo=>86ando<=90thenin=8:co=1:po=2:la=0:goto746
738 ifo=>91ando<=94thenin=9:co=1:po=3:la=0:goto746
740 ifo=>95ando<=97thenin=10:co=2:po=3:la=(int(3*rnd(ti)+1)):goto746
742 ifo=>98ando<=99thenin=11:co=2:po=3:rm=1:la=(int(6*rnd(ti)+1)):goto746
744 ifo=100thenin=12:co=2:po=3:rm=1:ex=1:ro=1:la=(int(7*rnd(ti)+2)):goto746
746 rem
748 ifin>0thenprint"[144][201]t's [201]ntelligent:"
750 print"[201]t [195]an:"
752 forn=1topo
754 y=int(100*rnd(ti)+1)
756 ify<=10thenprint"[196]etect [197]vil([199]ood)"
758 ify=>11andy<=15thenprint"[196]etect [199]ems"
760 ify=>16andy<=25thenprint"[196]etect [205]agic"
762 ify=>26andy<=35thenprint"[196]etect [205]etal"
764 ify=>36andy<=50thenprint"[196]etect [211]hifting [215]alls and [210]ooms"
766 ify=>51andy<=65thenprint"[196]etect [211]loping [208]assages"
768 ify=>66andy<=75thenprint"[198]ind [211]ecret [196]oors"
770 ify=>76andy<=85thenprint"[198]ind [212]raps"
772 ify=>86andy<=95thenprint"[211]ee [201]nvisible"
774 ify=>96andy<=99thenex=1
776 ify=100thenpo=2
778 nextn
780 ifrm=1thenprint"[210]ead [205]agic"
782 rem *** extraordinary powers ***
784 ifex<>1then828
786 print"[197]xtraordinary [208]owers:"
788 fori=1toro
790 ro=ro-1
792 x=int(100*rnd(ti)+1)
794 ifx<=10thenprint"[195]lairaudience"
796 ifx=>11andx<=20thenprint"[195]lairvoyance"
798 ifx=>21andx<=30thenprint"[197][211][208]"
800 ifx=>31andx<=35thenprint"[197]xtra [196]amage"
802 ifx=>36andx<=40thenprint"[198]lying"
804 ifx=>41andx<=45thenprint"[200]ealing"
806 ifx=>46andx<=54thenprint"[201]llusion"
808 ifx=>55andx<=59thenprint"[204]evitation"
810 ifx=>60andx<=69thenprint"[212]elekinesis"
812 ifx=>70andx<=79thenprint"[212]elepathy"
814 ifx=>80andx<=88thenprint"[212]eleportation"
816 ifx=>89andx<=97thenprint"[216]-[210]ay [214]ision"
818 ifx=>98andx<=99thenro=2
820 ifx=100thenro=3
822 rem *** extra rolls ***
824 next
826 ifro>0then788
828 rem
830 rem
832 rem *** int.cont. ***
834 q=int(20*rnd(ti)+1)
836 print"[211]word is ";
838 ifq<=13thenprint"[204]awful"
840 ifq=>14andq<=18thenprint"[206]eutral"
842 ifq=>19andq<=20thenprint"[195]haotic"
844 rem *** more intelligence ***
846 print"[211]words [201]ntelligence [211]core [201]s";in
848 print"[211]word [195]ommunicates [194]y ";
850 ifco=1thenprint"[197]mpathy"
852 ifco=2thenprint"[211]peech"
854 rem *** languages ***
856 ifla=0thengoto908
858 print"[204]anguanges:"
860 fori=1tola
862 r=int(20*rnd(ti)+1)
864 ifr=rthenla=la+1
866 ifr=1thenprint"[194]ugbear"
868 ifr=2thenprint"[196]oppleganger"
870 ifr=3thenprint"[196]ragon"
872 ifr=4thenprint"[196]warf"
874 ifr=5thenprint"[197]lf"
876 ifr=6thenprint"[199]argoyle"
878 ifr=7thenprint"[199]noll"
880 ifr=8thenprint"[199]nome"
882 ifr=9thenprint"[199]oblin"
884 ifr=10thenprint"[200]alfling"
886 ifr=11thenprint"[200]arpy"
888 ifr=12thenprint"[200]obgoblin"
890 ifr=13thenprint"[203]obold"
892 ifr=14thenprint"[204]izard man"
894 ifr=15thenprint"[205]edusa"
896 ifr=16thenprint"[205]inotaur"
898 ifr=17thenprint"[207]gre or [199]iant"
900 ifr=18thenprint"[207]rc"
902 ifr=19thenprint"[208]ixie"
904 ifr=20thenprint"[207]ther [200]uman [212]ongue"
906 next
908 getx$:ifx$=""then908
910 ifx$=chr$(32)then576
912 ifx$=chr$(13)then0
914 ifx$<>chr$(13)andx$<>chr$(32)then908
916 print"[147][196]o you want jewelry names (y/n)"
918 geto$:ifo$=""then918
920 ifo$="y"then926
922 ifo$="n"then1112
924 ifo$<>"y"ando$<>"n"then918
926 clr:print"[147]"
928 a$(1)="[193]nklet":a$(2)="[194]eads":a$(3)="[194]racelet":a$(4)="[194]rooch":a$(5)="[194]uckle"
930 a$(6)="[195]ameo":a$(7)="[195]hain":a$(8)="[195]lasp":a$(9)="[204]ocket":a$(10)="[208]in"
932 b$(1)="[193]rmband":b$(2)="[194]elt":b$(3)="[195]ollar":b$(4)="[197]arring"
934 b$(5)="4-leaf clover":b$(6)="[200]eart":b$(7)="[204]eaf":b$(8)="[206]ecklace"
936 b$(9)="[208]endant":b$(10)="[210]abbit's foot"
938 c$(1)="[193]mulet":c$(2)="[195]rown":c$(3)="[196]iadem":c$(4)="[205]edallion"
940 c$(5)="[207]rb":c$(6)="[210]ing":c$(7)="[211]carab":c$(8)="[211]cepter"
942 c$(9)="[212]alisman":c$(10)="[212]iara"
944 input"[200]ow many jewelry";j
946 print"[147][212]ype of[157][157][157][157][157][157][157]jewelry [214]alue (in [199][208])"
948 fori=0to39:print"[183]";:next:print""
949 fori=1037to2044step40:pokei,93:nexti
950 print""
952 fori=1toj
954 x=int(100*rnd(ti)+1)
956 ifx=1thenv=100:a=1
958 ifx=>2andx<=3thenv=500:a=1
960 ifx=>4andx<=6thenv=1000:a=1
962 ifx=>7andx<=10thenv=1500:a=1
964 ifx=>11andx<=16thenv=2000:a=1
966 ifx=>17andx<=24thenv=2500:a=1
968 ifx=>25andx<=34thenv=3000:a=1
970 ifx=>35andx<=45thenv=4000:a=2
972 ifx=>46andx<=58thenv=5000:a=2
974 ifx=>59andx<=69thenv=7500:a=2
976 ifx=>70andx<=78thenv=10000:a=2
978 ifx=>79andx<=85thenv=15000:a=3
980 ifx=>86andx<=90thenv=20000:a=3
982 ifx=>91andx<=94thenv=25000:a=3
984 ifx=>95andx<=97thenv=30000:a=3
986 ifx=>98andx<=99thenv=40000:a=3
988 ifx=100thenv=50000:a=3
990 s=z+v:z=s
992 y=int(10*rnd(ti)+1)
994 ifa=1thenprinta$(y)tab(14)v
996 ifa=2thenprintb$(y)tab(14)v
998 ifa=3thenprintc$(y)tab(14)v
1000 ifv=100thenaa=aa+1
1002 ifv=500thenbb=bb+1
1004 ifv=1000thencc=cc+1
1006 ifv=1500thendd=dd+1
1008 ifv=2000thenee=ee+1
1010 ifv=2500thenff=ff+1
1012 ifv=3000thengg=gg+1
1014 ifv=4000thenhh=hh+1
1016 ifv=5000thenii=ii+1
1018 ifv=7500thenjj=jj+1
1020 ifv=10000thenkk=kk+1
1022 ifv=15000thenll=ll+1
1024 ifv=20000thenmm=mm+1
1026 ifv=25000thennn=nn+1
1028 ifv=30000thenoo=oo+1
1030 ifv=40000thenpp=pp+1
1032 ifv=50000thenqq=qq+1
1034 ifi=18thenprint"[208]ress a key":gosub1102
1036 ifi=36thenprint"[208]ress a key":gosub1102
1038 ifi=54thenprint"[208]ress a key":gosub1102
1040 ifi=72thenprint"[208]ress a key":gosub1102
1042 ifi=90thenprint"[208]ress a key":gosub1102
1044 nexti
1046 print"[208]ress a key"
1048 gety$:ify$=""then1048
1050 print"[147][212]ype of[157][157][157][157][157][157][157]jewelry [214]alue (in [199][208])"
1052 forw=0to39:print"[183]";:nextw
1054 print""
1056 print"[212]otal value of jewelry =";z
1058 print"[202]ewelry value 100";aa
1060 print"[202]ewelry value 500";bb
1062 print"[202]ewelry value 1000";cc
1064 print"[202]ewelry value 1500";dd
1066 print"[202]ewelry value 2000";ee
1068 print"[202]ewelry value 2500";ff
1070 print"[202]ewelry value 3000";gg
1072 print"[202]ewelry value 4000";hh
1074 print"[202]ewelry value 5000";ii
1076 print"[202]ewelry value 7500";jj
1078 print"[202]ewelry value 10000";kk
1080 print"[202]ewelry value 15000";ll
1082 print"[202]ewelry value 20000";mm
1084 print"[202]ewelry value 25000";nn
1086 print"[202]ewelry value 30000";oo
1088 print"[202]ewelry value 40000";pp
1090 print"[202]ewelry value 50000";qq
1092 print"[206]ew jewelrys (y/n)"
1094 geti$:ifi$=""then1094
1096 ifi$="y"then916
1098 ifi$="n"then0
1100 ifi$<>"y"andi$<>"n"then1094
1102 getx$:ifx$=""then1102
1104 print"[147][212]ype of[157][157][157][157][157][157][157]jewelry [214]alue (in [199][208])"
1105 forr=0to39:print"[183]";:nextr
1106 ford=1037to2044step40:poked,93:nextd
1108 print""
1110 return
1112 clr:input"[147][200]ow many jewelry";j
1114 print"[147][208]lease wait, counting"
1116 fori=1toj
1118 x=int(100*rnd(ti)+1)
1120 ifx=1thenv=100
1122 ifx=>2andx<=3thenv=500
1124 ifx=>4andx<=6thenv=1000
1126 ifx=>7andx<=10thenv=1500
1128 ifx=>11andx<=16thenv=2000
1130 ifx=>17andx<=24thenv=2500
1132 ifx=>25andx<=34thenv=3000
1134 ifx=>35andx<=45thenv=4000
1136 ifx=>46andx<=58thenv=5000
1138 ifx=>59andx<=69thenv=7500
1140 ifx=>70andx<=78thenv=10000
1142 ifx=>79andx<=85thenv=15000
1144 ifx=>86andx<=90thenv=20000
1146 ifx=>91andx<=94thenv=25000
1148 ifx=>95andx<=97thenv=30000
1150 ifx=>98andx<=99thenv=40000
1152 ifx=100thenv=50000
1154 s=z+v:z=s
1156 ifv=100thenaa=aa+1
1158 ifv=500thenbb=bb+1
1160 ifv=1000thencc=cc+1
1162 ifv=1500thendd=dd+1
1164 ifv=2000thenee=ee+1
1166 ifv=2500thenff=ff+1
1168 ifv=3000thengg=gg+1
1170 ifv=4000thenhh=hh+1
1172 ifv=5000thenii=ii+1
1174 ifv=7500thenjj=jj+1
1176 ifv=10000thenkk=kk+1
1178 ifv=15000thenll=ll+1
1180 ifv=20000thenmm=mm+1
1182 ifv=25000thennn=nn+1
1184 ifv=30000thenoo=oo+1
1186 ifv=40000thenpp=pp+1
1188 ifv=50000thenqq=qq+1
1190 nexti
1192 goto1050
1194 print"[147]":clr
1196 input"[205]onsters [200]it [196]ice";h
1198 t=0
1200 fori=1toh:x=int(8*rnd(ti)+1):print"[158]"x;:a=t+x:t=a:nexti
1202 poke782,0
1204 poke781,19
1206 sys65520
1208 print"[144][212]otal:";t
1210 print"[153][206]ew [200]it [196]ice (y/n)"
1212 geta$:ifa$=""then1212
1214 ifa$="y"then1194
1216 ifa$="n"then0
1218 ifa$<>"y"anda$<>"n"then1212
1220 print"[147]"
1222 print"l[207]"chr$(34)" treasures2"chr$(34)",8,1[145][145][145][145]":gosub1224:stop
1224 poke198,7:poke631,13:poke632,147:poke633,82:poke634,117:poke635,9:poke636,31:poke637,13:return
1226 rem ** d.robbins **
1228 print"[147]"
1229 print"[147][150][205]enu 2"
1230 poke53280,2:poke53281,2:print" [196][213][206][199][197][207][206][211] "
1232 print" &"
1234 print" [196][210][193][199][207][206][211] "
1236 print"[150] [194]y fanatic [196]&[196] fan [196].[210]obbins"
1238 print"[150][201]mprovments by [212]he [194]alron"
1240 print" 1. [215]eapons"
1242 print" 2. [193]rmoury"
1244 print" 3. [205]onsters [200]it [196]ice"
1246 print" 4. [197]xperience counting"
1248 print" 5. [207]ther notes"
1250 print" 6. [205]enu 3"
1251 sys49152
1252 geta$:ifa$=""then1252
1254 ifa$="1"thengosub1270:goto1228
1256 ifa$="2"thengosub1444:goto1228
1258 ifa$="3"thengoto1482
1260 ifa$="4"thengosub1514:goto1228
1262 ifa$="5"thengosub1558:goto1228
1264 ifa$="6"thengoto5000
1266 ifa$<>"1"anda$<>"2"anda$<>"3"anda$<>"4"anda$<>"5"anda$<>"6"then1252
1268 end
1270 print"[147]1.[211]words"
1272 print"2.[194]ows"
1274 print"3.[193]xes"
1276 print"4.[196]aggers"
1278 print"5.[207]ther [215]eapons"
1280 print"6.[206]ew [215]eapons"
1282 print"7.[194]ack to [205]ain [205]enu"
1284 gets$:ifs$=""then1284
1286 ifs$="1"thengosub1302:goto1270
1288 ifs$="2"thengosub1320:goto1270
1290 ifs$="3"thengosub1340:goto1270
1292 ifs$="4"thengosub1352:goto1270
1294 ifs$="5"thengosub1362:goto1270
1296 ifs$="6"thengosub1380:goto1270
1298 ifs$="7"thengoto1228
1300 return
1302 print"[147]1.[211][215][207][210][196][211] "
1304 print"[211]hort sword 1d6 cost:7 gp"
1306 print"[206]ormal sword 1d8 cost:10 gp"
1308 print"[212]wo-[200]anded [211]word 1d10 cost:15 gp"
1310 print"[194]astard [211]word 1d8+1 cost:15 gp"
1312 print"([200]alfling may use, two-handed, not "
1314 print"lose initiative)
1316 [161]a$:[139]a$[178]""[167]1316
1318 [142]
1320 [153]"load2.peek(NULL)(NULL)(NULL)"
1322 [153]"lenrossbow lt. 1d6 cost:30 gp"
1324 [153]"lenrossbow hv. 2d4 cost:50 gp"
1326 [153]"lenase,30 qrls cost:10 gp"
1328 [153]"(NULL)ong peekow 1d6 cost:40 gp"
1330 [153]"(NULL)hort peekow 1d6 cost:25 gp"
1332 [153]"(NULL)uiver,20 arrows cost:5 gp"
1334 [153]"1 (NULL)ilver atnrrow cost:5 gp"
1336 [161]a$:[139]a$[178]""[167]1336
1338 [142]
1340 [153]"load3.atn(NULL)val(NULL)"
1342 [153]"peekattle atnxe (two-h) 1d8 cost:7 gp"
1344 [153]"left$and atnxe 1d6 cost:5 gp"
1346 [153]"left$eavy peekattle atnxe 1d10 cost:15 gp"
1348 [161]a$:[139]a$[178]""[167]1348
1350 [142]
1352 [153]"load4.str$atnchr$chr$val(NULL)(NULL)"
1354 [153]"(NULL)ormal str$agger 1d4 cost:3 gp"
1356 [153]"(NULL)ilver str$agger 1d4 cost:30 gp"
1358 [161]a$:[139]a$[178]""[167]1358:
1360 [142]
1362 [153]"load5.(NULL)(NULL)left$val(NULL)close(NULL)valatn(NULL)(NULL)(NULL)(NULL)"
1364 [153]"*(NULL)ace 1d4 cost:5 gp"
1366 [153]"*lenlub 1d4 cost:3 gp"
1368 [153]"(NULL)ole atnrm (two-h) 1d10 cost:7 gp"
1370 [153]"*(NULL)ling, 30 (NULL)tones 1d4 cost:2 gp"
1372 [153]"(NULL)pear 1d6 cost:3 gp"
1374 [153]"*(NULL)ar left$ammer 1d6 cost:5 gp* lenleric may use"
1376 [161]a$:[139]a$[178]""[167]1376
1378 [142]
1380 [153]"load6.(NULL)val(NULL) (NULL)valatn(NULL)(NULL)(NULL)(NULL)"
1382 [153]"peeklowgun cost:3gp poison 10/20/30'"
1384 [153]"peekola cost:5gp 1-2+ent 20/40/60'"
1386 [153]"peeklacjack cost:5gp 1-2 + special"
1388 [153]"(NULL)et cost:1sp entangle10/20/30'"
1390 [153]"(NULL)rident cost:5gp 1d6 10/20/30'"
1392 [153]"(NULL)hip cost:1gp 1-2 or ent (5-30')
1394 print"[204]vl,[200][196] [194]on [194]lackjack [194]ol,[206],[215]h [194]lowg"
1396 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
1398 print"1 - [203]nockout [197]ntangle [196]eath"
1400 print"2-3 +1 [203]nockout [197]ntangle * "
1402 print"4-6 +2 [211]tun [211]low ** "
1404 print"7-9 +3 [211]tun [211]low 50% hp"
1406 print"10-12 +4 [196]elay [196]elay 25% hp"
1408 print"12- +5 [196]elay [196]elay 25% hp"
1410 print"* 75% hp + paralysis"
1412 print"** 50% hp + paralysis"
1414 geta$:ifa$=""then1414
1416 print"[147][203][206][207][195][203][207][213][212]: unconsious and helpless for"
1418 print"1-100 (d%) rounds."
1420 print"[211][212][213][206]: move 1/3 normal,see [211][197][212] 3 p.[196]3."
1422 print"[196][197][204][193][217]: loses [201]nit.on the next round."
1424 print"[196][197][193][212][200]: [200]it [208]oints reduced to 0."
1426 print"[208][193][210][193][204][217][211][201][211]: helpless for 1-6 turns."
1428 print"% of hit points: loses % of original"
1430 print"(fully healed) hit points."
1432 print"[197][206][212][193][206][199][204][197]: cannot attack, cast or move"
1434 print"until a [211]aving [212]hrow is successful."
1436 print"[211][204][207][215]: moving and attacking at 1/2 rate"
1438 print"[206]o spells can be cast."
1440 geta$:ifa$=""then1440
1442 return
1444 print"[147][204][197][193][212][200][197][210][160][193][210][205][207][210] [193][195] 7 cost:20 gp"
1446 print"[211][195][193][204][197][160][205][193][201][204] [193][195] 6 cost:30 gp"
1448 print"[195][200][193][201][206][160][205][193][201][204] [193][195] 5 cost:40 gp"
1450 print"[194][193][206][196][197][196] [205][193][201][204] [193][195] 4 cost:50 gp"
1452 print"[208][204][193][212][197][160][205][193][201][204] [193][195] 3 cost:60 gp"
1454 print"[202][207][213][211][212][160][193][210][205][207][210] [193][195] 0 cost:70 gp"
1456 print"[211][200][201][197][204][196] [193][195] -1 cost:10 gp"
1458 print"[198]or [211]pecial see [211][197][212] 3, p.[196]46"
1460 geta$:ifa$=""then1460
1462 print"[147][200][207][210][211][197][160][193][210][205][207][210] ([194][193][210][196][201][206][199])"
1464 print"[204]eather [193][195] 7 40 gp 250 cn"
1466 print"[211]cale [193][195] 6 75 gp 400 cn"
1468 print"[195]hain [193][195] 5 150 gp 600 cn"
1470 print"[194]anded [193][195] 4 400 gp 1500 cn"
1472 print"[208]late [193][195] 3 500 gp 3000 cn"
1474 print"[198]ield [193][195] 2 600 gp 4000 cn"
1476 print"[202]oust [193][195] 0 700 gp 5000 cn"
1478 geta$:ifa$=""then1478
1480 return
1482 print"[147]":clr
1484 input"[205]onster's [200]it [196]ice:";h
1486 t=0
1488 fork=1toh
1490 x=(int(8*rnd(ti)+1))
1492 print"[158]"x;
1494 a=t+x:t=a
1496 next
1498 print
1500 print"[144][212]otal:";"[158]"t""
1502 print"[206]ew [200][196] ? ([217]/[206])"
1504 geta$:ifa$=""then1504
1506 ifa$="y"thengoto1482
1508 ifa$="n"then1512
1510 ifa$<>"y"anda$<>"n"then1504
1512 goto1228
1514 print"[147]"
1516 print" [197][216][208][197][210][201][197][206][195][197][160][208][207][201][206][212][211]:"
1518 input"[202]ewerys total value:";a
1520 input"10gp [199]ems ([200]ow many):";b
1522 input"50gp [199]ems:";c
1524 input"100gp [199]ems:";d
1526 input"500gp [199]ems:";e
1528 input"1000gp [199]ems:";f
1530 input"5000gp [199]ems:";g
1532 input"10000gp [199]ems:";h
1534 input"50000gp [199]ems:";i
1536 input"[211][208]'s:";j
1538 input"[197][208]'s:";k
1540 input"[199][208]'s:";l
1542 input"[208][208]'s:";m
1544 x=a+(b*10)+(c*50)+(d*100)+(e*500)+(f*1000)+(g*5000)+(h*10000)+(i*50000)
1546 y=(j/10)+(k/2)+l+(5*m)
1548 print"[212]otal [214]alue is "x+y"gp"
1550 input"[208]lus [205]onsters [197]xp.:";n
1552 print"[212]otal [197]xp. [208]oints are "x+y+n
1554 geta$:ifa$=""then1554
1556 return
1558 print"[147]"
1560 print"1.[205]issile [198]ire [212]able"
1562 print"2.[200]it [208]oints"
1564 print"3.[212]he [215]ar [205]achine"
1566 print"4.[205]oney [195]onversion [212]able"
1568 print"5.[206]atural [197]vents"
1570 print"6.[213]nnatural [197]vents"
1572 print"7.[196]uration of [195]harm"
1574 print"8.[205]onster [210]eaction [195]hart"
1576 print"9.[205]agic [201]tems [208]rices"
1578 print" [194].[194]ack to [205]ain [205]enu"
1580 geta$:ifa$=""then1580
1582 ifa$="1"thengosub1604:goto1558
1584 ifa$="2"thengosub1632:goto1558
1586 ifa$="3"thengosub1672:goto1558
1588 ifa$="4"thengosub1678:goto1558
1590 ifa$="5"thengosub1690:goto1558
1592 ifa$="6"thengosub1730:goto1558
1594 ifa$="7"thengosub1764:goto1558
1596 ifa$="8"thengosub1798:goto1558
1598 ifa$="9"thengosub1806:goto1558
1600 ifa$="[194]"thengoto1228
1602 return
1604 print"[147] [205]aximum [210]anges (in feet)"
1606 print"[215][197][193][208][207][206][211] [211]hort [205]edium [204]ong"
1608 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
1610 print"[195]rossbow,[204]t 60 120 180"
1612 print"[195]rossbow,[200]v 80 160 240"
1614 print"[204]ong [194]ow 70 140 210"
1616 print"[211]hort [194]ow 50 100 150"
1618 print"[211]ling 40 80 160"
1620 print"[211]pear 20 40 60"
1622 print"[207]il or [200]oly [215]ater 10 30 50"
1624 print"[200]and [193]xe or [196]agger 10 20 30"
1626 print"[198]or [205]isile [194]onuses see [211][197][212] 3, p.[196]56"
1628 geta$:ifa$=""then1628
1630 return
1632 print"[147][195][204][193][211][211] [200][201][212][160][208][207][201][206][212][211][160][196][201][195][197]"
1634 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
1636 print"[198]ighter 1d8"
1638 print" [196]warf 1d8"
1640 print"[195]leric 1d6"
1642 print"[197]lf 1d6"
1644 print"[200]alfling 1d6"
1646 print"[205]agic-[213]ser 1d4"
1648 print" [212]hief 1d4"
1650 print"[205][193][216][201][205][213][205][160][200][201][212][160][208][207][201][206][212][211]"
1652 print"[196]ice [195]on. [205]aximum hp"
1654 print"[210]olls [194]onus [204]15 [204]25 [204]36"
1656 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
1658 print" [195]leric 54 27 87 97 108"
1660 print" [198]ighter 72 27 111 131 153"
1662 print" [205]-[213] 36 27 69 79 90"
1664 print" [212]hief 36 27 75 95 117"
1666 print"[198]or [196]emi-[200]umans [205]ax.hp, see [211][197][212]3 p.[196]22"
1668 geta$:ifa$=""then1668
1670 return
1672 print"[147][211]ee [196]&[196][160][211][197][212] 3, p. [196]12"
1674 geta$:ifa$=""then1674
1676 return
1678 print"[147] [205][207][206][197][217][160][195][207][206][214][197][210][211][201][207][206][160][212][193][194][204][197]"
1680 print" 100 cp = 1 gp 2 ep = 1 gp"
1682 print" 10 sp = 1 gp 5 gp = 1pp"
1684 print"1 pp = 5 gp = 10 ep = 50 sp = 500 cp"
1686 geta$:ifa$=""then1686
1688 return
1690 print"[147]*[197]arthquake ([205]aanjaristys) 10%"
1692 print"[197]xplosion 10%"
1694 print"[198]ire,[205]inor 50%"
1696 print"*[198]ire, [205]ajor 10%"
1698 print"[198]lood ([212]ulva) 10-50%"
1700 print"*[200]urricane 15%"
1702 print"*[205]eteor [211]trike, [205]ajor 1%"
1704 print"[205]eteor [211]hower, [205]inor 20%"
1706 print"*[208]lague ([210]utto) 25%
1708 [153]"(NULL)inkhole ((NULL)aan (NULL)ajoaminen) 5%"
1710 [153]"(NULL)torm 80%"
1712 [153]"*(NULL)ornado 25%"
1714 [153]"*(NULL)olcano ((NULL)ulivuorenpurkaus) 2%"
1716 [153]"(NULL)hirlpool ((NULL)urimus) 25%"
1718 [153]"(NULL)ee more (NULL)val(NULL) 3, p.str$10
1720 print"* '[196]isasters' ([203]atastrofi,[212]uho)"
1722 print"1-4 unnatural or natural events per "
1724 print"game year."
1726 geta$:ifa$=""then1726
1728 return
1730 print"[147][193]ssassination ([211]alamurha) 10%"
1732 print"[194]andits ([214]arkaat) 50%"
1734 print"[194]order [211]kirmish ([210]ajakahakka) 40%"
1736 print"[195]ultural [196]iscovery 10%"
1738 print"[201]nsurrection ([203]apina) 10%"
1740 print"[205]agical [200]appening 30%"
1742 print"[205]igration ([203]ansainvaellus) 10%"
1744 print"[213]surper ([214]allankaappaaja) 10%"
1746 print"[211]py [210]ing ([214]akoiluketju) 60%"
1748 print"[212]raitor ([203]avaltaja) 30%"
1750 print"[214][201][208] [214]isitor 10%"
1752 print"[215]andering [205]onster, 20 [200][196]+ 75%"
1754 print"[198]or more, see [211][197][212] 3, p.[196]10"
1756 print"1-4 unnatural or natural events per "
1758 print"game year."
1760 getd$:ifd$=""then1760
1762 return
1764 print"[147][201]ntelligence [211]ave again after"
1766 print"0 120 days"
1768 print"190 days"
1770 print"260 days"
1772 print"345 days"
1774 print"4-530 days"
1776 print"6-815 days"
1778 print"9-127 days"
1780 print"13-15 3 days"
1782 print"16-17 24 hours"
1784 print" 18 8 hours"
1786 print" 19 3 hours"
1788 print"20 1 hour"
1790 print"21+ 1 turn"
1792 print" (10 minutes)"
1794 geta$:ifa$=""then1794
1796 return
1798 print"[147][205][207][206][211][212][197][210][160][210][197][193][195][212][201][207][206][160][195][200][193][210][212]"
1800 print"[211]ee [196]&[196][160][211][197][212] 4, p.[196]9"
1802 geta$:ifa$=""then1802
1804 return
1806 print"[147] [205][193][199][201][195][160][201][212][197][205][211][160][208][210][201][195][197][160][210][193][206][199][197][211]"
1808 print"[193]rmor 10.000-150.000gp"
1810 print"[205]isc. [201]tem 5.000-750.000gp"
1812 print"[205]isc. [215]eapon 5.000-250.000gp"
1814 print"[205]issile 1.000-5.000gp"
1816 print"[205]issile [196]evice 10.000-250.000gp"
1818 print"[208]otion 1.000-10.000gp"
1820 print"[210]ing 10.000-250.000gp"
1822 print"[210]od 25.000-500.000gp"
1824 print"[211]croll 5.000-75.000gp"
1826 print"[211]hield 5.000-75.000gp"
1828 print"[211]taff 15.000-300.000gp"
1830 print"[211]word 5.000-500.000gp"
1832 print"[215]and 5.000-150.000gp"
1834 geta$:ifa$=""then1834
1836 return
1838 goto0
5000 rem ** the balron **
5003 poke53280,12:poke53281,12:print""
5010 print"[147][155][205]enu 3"
5020 print"[196][213][206][199][197][207][206][211]"
5030 print"&"
5040 print"[196][210][193][199][207][206][211]"
5050 print"[153][205][207][210][197] [193][201][196]"
5060 print"[149][183][183][183][183][183][183][183][183][183][183]"
5070 print"[151][194]y [212]he [194]alron 1987"
5080 print"1.[215]and,staff or rod"
5090 print"2.[210]ings"
5100 print"3.[211]crolls"
5110 print"4.[205]isc.items"
5115 print"5.[205]issile or device"
5116 print"6.[205]enu 1"
5117 sys49152
5120 geta$:ifa$=""then5120
5130 ifa$="1"then5180
5140 ifa$="2"then5750
5150 ifa$="3"then6280
5160 ifa$="4"then20000
5165 ifa$="5"then25000
5166 ifa$="6"then0
5170 ifa$<>"1"anda$<>"2"anda$<>"3"anda$<>"4"anda$<>"5"anda$<>"6"then5120
5180 print""
5190 clr:poke53281,12:poke53280,12
5200 input"[147][200]ow many wands/staves/rods";h
5210 print"[147]"
5220 print"[212]ype of wand/staff/rod + charges"
5230 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][158]"
5240 fori=1toh
5250 x=int(100*rnd(ti)+1)
5260 ifx<=5thenprint"wand of cold";:gosub5670:printy
5270 ifx=>6andx<=10thenprint"wand of enemy detection";:gosub5670:printy
5280 ifx=>11andx<=14thenprint"wand of fear";:gosub5670:printy
5290 ifx=>15andx<=19thenprint"wand of fire balls";:gosub5670:printy
5300 ifx=>20andx<=23thenprint"wand of illusion";:gosub5670:printy
5310 ifx=>24andx<=28thenprint"wand of lightning bolts";:gosub5670:printy
5320 ifx=>29andx<=33thenprint"wand of magic detection";:gosub5670:printy
5330 ifx=>34andx<=38thenprint"wand of metal detection";:gosub5670:printy
5340 ifx=>39andx<=42thenprint"wand of negation";:gosub5670:printy
5350 ifx=>43andx<=47thenprint"wand of paralyzation";:gosub5670:printy
5360 ifx=>48andx<=52thenprint"wand of polymorphing";:gosub5670:printy
5370 ifx=>53andx<=56thenprint"wand of sec.door detection";:gosub 5670:printy
5380 ifx=>57andx<=60thenprint"wand of trap detection";:gosub 5670:printy
5390 ifx=61thenprint"staff of commanding";:gosub 5690:printz
5400 ifx=>62andx<=63thenprint"staff of dispelling";:gosub 5690:printz
5410 ifx=>64andx<=66thenprint"staff of the druids";:gosub5690:printz
5420 ifx=>67andx<=69thenprint"staff of an element";:gosub5690:printz
5430 ifx=>70andx<=71thenprint"staff of harming";:gosub5690:printz
5440 ifx=>72andx<=78thenprint"staff of healing";:gosub5690:printz
5450 ifx=79thenprint"staff of power";:gosub5690:printz
5460 ifx=>80andx<=82thenprint"snake staff";:gosub5690:printz
5470 ifx=>83andx<=85thenprint"staff of striking";:gosub5690:printz
5480 ifx=>86andx<=87thenprint"staff of withering";:gosub5690:printz
5490 ifx=88thenprint"staff of wizardry";:gosub5690:printz
5500 ifx=>89andx<=90thenprint"rod of cancellation"
5510 ifx=91thenprint"rod of dominion"
5520 ifx=92thenprint"rod of health"
5530 ifx=>93andx<=94thenprint"rod of inertia"
5540 ifx=95thenprint"rod of parrying"
5550 ifx=96thenprint"rod of victory"
5560 ifx=>97andx<=99thenprint"rod of weaponry"
5570 ifx=100thenprint"rod of the wyrm"
5580 ifi=18thenprint"[158][208]ress a key":gosub5710
5590 ifi=36thenprint"[158][208]ress a key":gosub5710
5600 ifi=54thenprint"[158][208]ress a key":gosub5710
5610 next
5620 print"[206]ew wands/staves/rods (y/n)"
5630 getr$:ifr$=""then5630
5640 ifr$="y"then5190
5650 ifr$="n"then5000
5660 ifr$<>"y"andr$<>"n"then5630
5670 y=(int(10*rnd(ti)+1)*3)
5680 return
5690 z=(int(20*rnd(ti)+1)*2)
5700 return
5710 geta$:ifa$=""then5710
5720 print"[147][212]ype of wand/staff/rod + charges"
5730 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][158]"
5740 return
5750 clr:print""
5760 poke53281,12:poke53280,12
5770 print"[147]"
5780 input"[200]ow many rings";h
5790 print"[147][210]ing of:[158]"
5800 fori=1toh
5810 x=int(100*rnd(ti)+1)
5820 ifx<=2thenprint"animal control"
5830 ifx=>3andx<=8thenprint"delusion"
5840 ifx=9thenprint"djinni summoning"
5850 ifx=>10andx<=13thenprint"ear ring"
5860 ifx=>14andx<=17thenprint"elemantal adaptation"
5870 ifx=>18andx<=23thenprint"fire recistance"
5880 ifx=>24andx<=26thenprint"holiness"
5890 ifx=27thenprint"human control"
5900 ifx=>28andx<=32thenprint"invisibility"
5910 ifx=>33andx<=35thenprint"life protection"
5920 ifx=>36andx<=38thenprint"memory"
5930 ifx=>39andx<=40thenprint"plant control"
5940 ifx=>41andx<=45thenprint"protection +1"
5950 ifx=>46andx<=48thenprint"protection +2"
5960 ifx=>49andx<=50thenprint"protection +3"
5970 ifx=51thenprint"protection +4"
5980 ifx=>52andx<=55thenprint"quickness"
5990 ifx=56thenprint"regeneration"
6000 ifx=>57andx<=59thenprint"remedis"
6010 ifx=>60andx<=61thenprint"safety"
6020 ifx=>62andx<=64thenprint"seeing"
6030 ifx=>65andx<=67thenprint"spell eating"
6040 ifx=>68andx<=69thenprint"spell storing"
6050 ifx=>70andx<=71thenprint"spell turning"
6060 ifx=>72andx<=75thenprint"survival"
6070 ifx=>76andx<=77thenprint"telekinesis"
6080 ifx=>78andx<=81thenprint"truth"
6090 ifx=>82andx<=84thenprint"truthfulness"
6100 ifx=>85andx<=86thenprint"truthlessness"
6110 ifx=>87andx<=91thenprint"water walking"
6120 ifx=>92andx<=96thenprint"weakness"
6130 ifx=>97andx<=98thenprint"wishes"
6140 ifx=>99andx<=100thenprint"[216]-ray vision"
6150 ifi=18thengosub6240
6160 ifi=36thengosub6240
6170 ifi=54thengosub6240
6180 nexti
6190 print"[158][206]ew rings (y/n)"
6200 geta$:ifa$=""then6200
6210 ifa$="y"then5750
6220 ifa$="n"then5000
6230 ifa$<>"y"anda$<>"n"then6200
6240 print"[158][208]ress a key"
6250 geta$:ifa$=""then6250
6260 print"[147][210]ing of:[158]"
6270 return
6280 clr:poke53281,12:poke53280,12
6290 input"[147][200]ow many scrolls";h
6300 print"[147][212]ype of scroll:[158]"
6310 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
6320 fori=1toh
6330 x=int(100*rnd(ti)+1)
6340 ifx<=3thenprint"communication"
6350 ifx=>4andx<=5thenprint"creation"
6360 ifx=>6andx<=13thenprint"curse"
6370 ifx=14thenprint"delay"
6380 ifx=>15andx<=17thenprint"equipment"
6390 ifx=>18andx<=19thenprint"illumination"
6400 ifx=>20andx<=21thenprint"mages"
6410 ifx=>22andx<=25thenprint"map to normal treasure"
6420 ifx=>26andx<=28thenprint"map to magical treasure"
6430 ifx=>29andx<=30thenprint"map to combined treasure"
6440 ifx=31thenprint"map to special treasure"
6450 ifx=>32andx<=34thenprint"mapping"
6460 ifx=>35andx<=36thenprint"portals"
6470 ifx=>37andx<=42thenprint"protection from elementals"
6480 ifx=>43andx<=50thenprint"protection from lycanthropes"
6490 ifx=>51andx<=54thenprint"protection from magic"
6500 ifx=>55andx<=61thenprint"protection from undead"
6510 ifx=>62andx<=63thenprint"questioning"
6520 ifx=64thenprint"repetition"
6530 ifx=>65andx<=66thenprint"seeing"
6540 ifx=>67andx<=68thenprint"shelter"
6550 ifx=>69andx<=71thenprint"spell catching"
6560 ifx=>72andx<=96thenprint"spells ";:gosub6710
6570 ifx=>97andx<=98thenprint"trapping"
6580 ifx=>99andx<=100thenprint"truth"
6590 ifi=18thengosub6960
6600 ifi=36thengosub6960
6610 ifi=54thengosub6960
6620 ifi=72thengosub6960
6630 ifi=90thengosub6960
6640 nexti
6650 print"[206]ew scrolls (y/n)"
6660 geta$:ifa$=""then6660
6670 ifa$="y"then6280
6680 ifa$="n"then5000
6690 ifa$<>"y"anda$<>"n"then6660
6700 end
6710 y=int(100*rnd(ti)+1):cl=0:mu=0
6720 ify<=70thenprint"magic-user ";:mu=1
6730 ify=>71andy<=95thenprint"cleric ";:cl=1
6740 ify=>96andy<=100thenprint"druid ";:cl=1
6750 ifcl<>1then6850
6760 t=int(100*rnd(ti)+1)
6770 ift<=34thenprint"1"
6780 ift=>35andt<=58thenprint"2"
6790 ift=>59andt<=76thenprint"3"
6800 ift=>77andt<=88thenprint"4"
6810 ift=>89andt<=95thenprint"5"
6820 ift=>96andt<=99thenprint"6"
6830 ift=100thenprint"7"
6840 return
6850 r=int(100*rnd(ti)+1)
6860 ifr<=28thenprint"1"
6870 ifr=>29andr<=49thenprint"2"
6880 ifr=>50andr<=64thenprint"3"
6890 ifr=>65andr<=75thenprint"4"
6900 ifr=>76andr<=84thenprint"5"
6910 ifr=>85andr<=91thenprint"6"
6920 ifr=>92andr<=96thenprint"7"
6930 ifr=>97andr<=99thenprint"8"
6940 ifr=100thenprint"9"
6950 return
6960 print"[208]ress a key"
6970 geta$:ifa$=""then6970
6980 print"[147][212]ype of scroll:[158]"
6990 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
7000 return
20000 clr:poke53281,12:poke53280,12
20010 input"[147][200]ow many miscellaneous items";h
20020 print"[147][212]ype of miscellaneous item:[158]"
20030 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
20040 fori=1toh
20050 x=int(100*rnd(ti)+1)
20060 ifx<=2thenprint"amulet of prot.from cryst.balls and [197][211][208]"
20070 ifx=>3andx<=4thenprint"bag of devouring"
20080 ifx=>5andx<=9thenprint"bag of holding"
20090 ifx=>10andx<=12thenprint"boat,undersea"
20100 ifx=>13andx<=14thenprint"boots of levitation"
20110 ifx=>15andx<=17thenprint"boots of speed"
20120 ifx=>18andx<=19thenprint"boots of traveling and leaping"
20130 ifx=20thenprint"bowl of commanding water elementals"
20140 ifx=21thenprint"brazier of commanding fire elementals"
20150 ifx=>22andx<=23thenprint"broom of flying"
20160 ifx=24thenprint"censer of controlling air elementals"
20170 ifx=>25andx<=27thenprint"chime of time"
20180 ifx=>28andx<=29thenprint"crystal ball"
20190 ifx=30thenprint"crystal ball with clairaudience"
20200 ifx=31thenprint"crystal ball with [197][211][208]"
20210 ifx=>32andx<=33thenprint"displacer cloak"
20220 ifx=34thenprint"drums of panic"
20230 ifx=35thenprint"eefreti bottle"
20240 ifx=>36andx<=38thenprint"eggs of wonder"
20250 ifx=>39andx<=40thenprint"elven cloak"
20260 ifx=>41andx<=42thenprint"elven boots"
20270 ifx=43thenprint"flying carpet"
20280 ifx=>44andx<=45thenprint"gauntlets of ogre power"
20290 ifx=>46andx<=47thenprint"girdle of giant strength"
20300 ifx=>48andx<=49thenprint"helm of alignment changing"
20310 ifx=>50andx<=51thenprint"helm of reading"
20320 ifx=52thenprint"helm of telepathy"
20330 ifx=53thenprint"helm of teleportation"
20340 ifx=54thenprint"horn of blasting"
20350 ifx=>55andx<=57thenprint"lamp of longburning"
20360 ifx=>58andx<=59thenprint"lamp,hurricane"
20370 ifx=>60andx<=61thenprint"medallion of [197][211][208], 30' range"
20380 ifx=62thenprint"medallion of [197][211][208], 90' range"
20390 ifx=63thenprint"mirror of life trapping"
20400 ifx=>64andx<=66thenprint"muzzle of trainging"
20410 ifx=>67andx<=68thenprint"nail,finger"
20420 ifx=>69andx<=71thenprint"nail of pointing"
20430 ifx=>72andx<=76thenprint"ointment"
20440 ifx=>77andx<=79thenprint"pouch of security"
20450 ifx=>80andx<=82thenprint"quill of copying"
20460 ifx=>83andx<=86thenprint"rope of climbing"
20470 ifx=>87andx<=88thenprint"scarab of protection"
20480 ifx=>89andx<=91thenprint"slate of identification"
20490 ifx=92thenprint"stone of controlling earth elementals"
20500 ifx=>93andx<=94thenprint"talisman of elemental travel"
20510 ifx=>95andx<=97thenprint"wheel of floating"
20520 ifx=98thenprint"wheel of fortune"
20530 ifx=>99andx<=100thenprint"wheel,square"
20540 ifi=18thengosub20650
20550 ifi=36thengosub20650
20560 ifi=54thengosub20650
20570 ifi=72thengosub20650
20580 ifi=90thengosub20650
20590 next
20600 print"[206]ew items (y/n)"
20610 geta$:ifa$=""then20610
20620 ifa$="y"then20000
20630 ifa$="n"then5000
20640 ifa$<>"n"anda$<>"y"then20610
20650 print"[208]ress a key"
20660 geta$:ifa$=""then20660
20670 print"[147][212]ype of miscellaneous item:[158]"
20680 print"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
20690 return
25000 print"[147]"
25010 x=int(100*rnd(ti)+1)
25020 ifx<=37thenprint"arrows";:wc=1
25030 ifx=>38andx<=59thenprint"quarrles";:wc=1
25040 ifx=>60andx<=70thenprint"sling stones";:wc=1
25050 ifx=>71andx<=72thenprint"blowgun";:wc=2
25060 ifx=>73andx<=80thenprint"longbow";:wc=2
25070 ifx=>81andx<=85thenprint"shortbow";:wc=2
25080 ifx=>86andx<=87thenprint"heavy crossbow";:wc=2
25090 ifx=>88andx<=92thenprint"light crossbow";:wc=2
25100 ifx=>93thenprint"sling";:wc=2
25110 rem ** strength **
25120 ifwc=1then25140
25130 ifwc=2then25440
25140 gosub26090
25150 ifx<=40thenprint"+1";:cb=30:ke=10:rn=2
25160 ifx=>41andx<=67thenprint"+2";:cb=25:ke=4:rn=2
25170 ifx=>68andx<=84thenprint"+3";:cb=20:ke=6:rn=2
25180 ifx=>85andx<=94thenprint"+4";:cb=15:ke=4:rn=2
25190 ifx=>95andx<=100thenprint"+5";:cb=10:yk=1
25200 gosub26090
25210 ifx>cbthen26000
25220 gosub26090
25230 ifx<=4thenprint"+biting";
25240 ifx=>5andx<=9thenprint"+blinking";
25250 ifx=>10andx<=14thenprint"+charming";
25260 ifx=>15andx<=21thenprint"+climbing";
25270 ifx=>22andx<=31thenprint"+curing";
25280 ifx=>32andx<=34thenprint"+disarming";
25290 ifx=>35andx<=38thenprint"+dispelling";
25300 ifx=>39andx<=45thenprint"+flying";
25310 ifx=>46andx<=52thenprint"+lighting";
25320 ifx=>53andx<=57thenprint"+penetrating";
25330 ifx=>58andx<=61thenprint"+refilling";
25340 ifx=>62andx<=67thenprint"+screaming";
25350 ifx=>68andx<=72thenprint"+seeking";
25360 ifx=>73andx<=76thenprint"+sinking";
25370 ifx=>77andx<=78thenprint"+slaying";
25380 ifx=>79andx<=85thenprint"+speaking";
25390 ifx=>86andx<=89thenprint"+stunning";
25400 ifx=>90andx<=91thenprint"+teleporting";
25410 ifx=>92andx<=96thenprint"+transporting";
25420 ifx=>97andx<=100thenprint"+wounding";
25430 goto26000
25440 gosub26090
25450 ifx<=70thenprint"+1";:cb=30
25460 ifx=>71andx<=88thenprint"+2";:cb=25
25470 ifx=>89andx<=96thenprint"+3";:cb=20
25480 ifx=>97andx<=99thenprint"+4";:cb=15
25490 ifx=100thenprint"+5";:cb=10
25500 gosub26090
25510 ifx>cbthen26000
25520 rem *********
25530 s=int(100*rnd(ti)+1)
25540 ifs<=29thenprint"+1 vs.";
25550 ifs=>30ands<=50thenprint"+2 vs.";
25560 ifs=>51ands<=64thenprint"+3 vs.";
25570 ifs=>65ands<=72thenprint"+4 vs.";
25580 ifs=>73ands<=75thenprint"+5 vs.";
25590 ifs=>76ands<=100thenprint" + ";:goto25770
25600 rem *** opponents ***
25610 i=int(100*rnd(ti)+1)
25620 ifi<=6thenprint"[194]ugs"
25630 ifi=>7andi<=9thenprint"[195]onstructs"
25640 ifi=>10andi<=15thenprint"[196]ragons"
25650 ifi=>16andi<=24thenprint"[197]nchanted monsters"
25660 ifi=>25andi<=36thenprint"[199]iants"
25670 ifi=>37andi<=48thenprint"[204]ycanthropes"
25680 ifi=>49andi<=52thenprint"[207]ther-planar creatures"
25690 ifi=>53andi<=58thenprint"[210]egenerating [195]reatures"
25700 ifi=>59andi<=67thenprint"[210]eptiles (and [196]inosaurs)"
25710 ifi=>68andi<=70thenprint"[211]pell [201]mmune creatures"
25720 ifi=>71andi<=76thenprint"[211]pell [213]sers"
25730 ifi=>77andi<=88thenprint"[213]ndead"
25740 ifi=>89andi<=94thenprint"[215]ater-[194]reathing [195]reatures"
25750 ifi=>95andi<=100thenprint"[215]eapon-[213]sing [195]reatures"
25760 goto26000
25770 rem *** talent ***
25780 p=int(100*rnd(ti)+1)
25790 ifp<=5thenprint"[194]reathing"
25800 ifp=>6andp<=12thenprint"[195]harming"
25810 ifp=>13andp<=16thenprint"[196]eceiving"
25820 ifp=>17andp<=23thenprint"[196]efending"
25830 ifp=>24andp<=25thenprint"[196]eflector"
25840 ifp=>26andp<=27thenprint"[196]raining"
25850 ifp=>28andp<=32thenprint"[197]xtinguishing"
25860 ifp=>33andp<=38thenprint"[198]inding"
25870 ifp=>39andp<=43thenprint"[198]laming"
25880 ifp=>44andp<=46thenprint"[198]lying"
25890 ifp=>47andp<=54thenprint"[200]ealing"
25900 ifp=>55andp<=59thenprint"[200]iding"
25910 ifp=>60andp<=65thenprint"[200]olding"
25920 ifp=>66andp<=73thenprint"[204]ightning"
25930 ifp=>74andp<=79thenprint"[211]ilencing"
25940 ifp=>80andp<=81thenprint"[211]licing"
25950 ifp=>82andp<=85thenprint"[211]lowing"
25960 ifp=>86andp<=89thenprint"[211]peeding"
25970 ifp=>90andp<=94thenprint"[212]ranslating"
25980 ifp=>95andp<=99thenprint"[215]atching"
25990 ifp=100thenprint"[215]ishing"
26000 ifwc=2then26040
26010 ifyk=1then nf=(int(4*rnd(ti)+1)+1):goto26030
26020 nf=int(ke*rnd(ti)+rn)
26030 print" *";nf
26040 rem
26050 geta$:ifa$=""then26050
26060 ifa$=chr$(32)then25000
26070 ifa$=chr$(13)then5000
26080 ifa$<>chr$(32)anda$<>chr$(13)then26050
26090 x=int(100*rnd(ti)+1):return